package com.ruoyi.dto;

import java.io.Serializable;

public class DataAcceptDTO<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private Boolean success;

    private String msg;

    private String sn;

    private T data;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "DataAcceptDTO{" +
                "success=" + success +
                ", msg='" + msg + '\'' +
                ", sn='" + sn + '\'' +
                ", data=" + data +
                '}';
    }
}
